<?php
$action = "user/signup";
?>
<script src='https://www.google.com/recaptcha/api.js'></script>
<div id="frame" class="outline">
    <?php if ($errormsg != '') { ?>
        <b><?php echo $errormsg; ?></b>
        <?php
    }
    echo form_fieldset();
    echo form_open($action);
    echo form_label('Nome', 'name');
    echo form_input("name", $name, 'id=name') . "<br>";
    echo form_label('eMail', 'email');
    echo form_input("email", $email, 'id=email') . "<br>";
    echo form_label('Login', 'login');
    echo form_input("login", $login, 'id=login') . "<br>";
    echo form_label('Senha', 'password');
    echo form_password("password", '', 'id=password') . "<BR>";
    echo form_label('Confirmar Senha', 'passwordconf');
    echo form_password("passwordconf", '', 'id=passwordconf') . "<BR>";
    echo form_submit('entrar', 'Entrar');
    ?>
    <div class="g-recaptcha" data-sitekey="6LfeVAETAAAAABLfnOS0lIvlDp9dABCwVXom6z24"></div>
    <?php
    echo form_fieldset_close();
    ?>
</div>

